package demo.selenium.chrome;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;

/**
 * description: <br>
 * createTime: 2020/6/1517:20 <br>
 *
 * @author zzh
 */
public class Demo {

    public static void main(String[] args) {
        System.setProperty("webdriver.chrome.driver", "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe");
        WebDriver driver = new ChromeDriver();//支持js
        driver.get("https://baidu.com");//s_ipt
        System.out.println(driver);
    }
}
